home *** CD-ROM | disk | FTP | other *** search
- Path: noc.netcom.net!news
- From: Tarang Deshpande <tarang@willows.com>
- Newsgroups: comp.lang.c
- Subject: Re: Check if a file exists?
- Date: Mon, 15 Apr 1996 13:34:48 -0700
- Organization: NETCOM Network Operations
- Message-ID: <3172B2E8.7D70@willows.com>
- References: <4kp7pg$upe@news-s01.ny.us.ibm.net> <317261E6.31D0@spectratek.co.uk> <829569968snz@genesis.demon.co.uk>
- NNTP-Posting-Host: daffy.willows.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
-
- Lawrence Kirby wrote:
- >
- > In article <317261E6.31D0@spectratek.co.uk>
- > dean_darlison@spectratek.co.uk "Dean Darlison" writes:
- >
- > >man access
- >
- > If that works on your system then the contents should tell you that this
- > function is inappropriate for the question asked.
- >
- > --
- > -----------------------------------------
- > Lawrence Kirby | fred@genesis.demon.co.uk
- > Wilts, England | 70734.126@compuserve.com
- > -----------------------------------------
-
-
- Under SUNOS 5.4, LINUX 1.1.46 and conforming to SVID, AT&T, POSIX,
- X/OPEN, and BSD 4.3
-
- #include <unistd.h>
- int access (const char *path, int amode)
-
- where amode is F_OK then the function is used to test for existance.
-